package com.yhsoft.goods.controller.Po;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;

/**
 * @author: yyyyyyyh
 * @create: 2023-09-24
 * @Version 1.0
 **/
@Data
public class skuInfoPo {
    /**
     * skuNameId
     */
    @ApiModelProperty("商品skuNameId,新增不填，修改必填")
    private Integer skuNameId;

    /**
     * skuInfoId
     */
    @ApiModelProperty("商品skuId,新增不填，修改必填")
    private Integer Id;

    /**
     * sku信息
     */
    @ApiModelProperty("sku信息")
    @NotBlank(message = "sku信息不能为空!")
    private String skuInfo;

    /**
     * 价格
     */
    @ApiModelProperty("价格")
    private BigDecimal skuPrice;

    /**
     * 建议售价
     */
    @ApiModelProperty("建议售价")
    private BigDecimal advocatePrice;

    /**
     * 库存
     */
    @ApiModelProperty("库存")
    private Integer stock;
}
